I’ve often pondered the advantages and disadvantages of CRTP vs a policy based design. CRTP always seemed
a bit of a hack to me, so I’ve favoured policies. I recently came across an interesting rationale for
choosing CRTP in the Boost iterator_facade documentation at
https://www.boost.org/doc/libs/1_65_0/libs/iterator/doc/iterator_facade.html#overview
[Read More]
Type traits and qualified types
Type traits for cv-qualified and ref types
[Read More]
Colour output from Ninja generator in CMake
Found in the BloatyMcBloatFace
repository is this snippet to get coloured compiler output when using the Ninja
generator from CMake.
[Read More]
Building LLVM
```bash
git clone https://github.com/llvm-project/llvm-project-20170507/ src
[Read More]
Stopping bash-git-prompt from hanging in git dirs with many untracked files
If you navigate to a git repository containing a large number of untracked files,
bash-git-prompt can become excessively slow, making the terminal unusable. This is
a particular problem when navigating to a yadm
repository which is tracking the entire $HOME directory.
[Read More]